home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
gen
/
lparser3
/
tree00.ls
< prev
next >
Wrap
Text File
|
1993-11-22
|
829b
|
38 lines
# --- L-System Parser/Mutator --- Lj Lapre ----------------------------------
#
# Monopodial skeleton
#
# Here is how to read the formulas on page 56 into
# lparser syntax. The values can be input from page 57,
# the strings colapsed and used.
#
# A = F[ &( a0 ) '( r2 ) !( wr ) BL ] >( c ) '( r1 ) !( wr ) A
# B = F[ -( a2 ) '( r2 ) !( wr ) $CL ] '( r1 ) !( wr ) C
# C = F[ +( a2 ) '( r2 ) !( wr ) $BL ] '( r1 ) !( wr ) B
#
# Tree example b
#
# A=F[&'(.9)!BL]>(137)'(.9)!A
# B=F[-'(.9)!$CL]'(.9)!C
# C=F[+'(.9)!$BL]'(.9)!B
#
# Tree example c
#
# A=F[&'(.8)!BL]>(137)'!(.9)A
# B=F[-'(.8)!(.9)$CL]'!(.9)C
# C=F[+'(.8)!(.9)$BL]'!(.9)B
#
10
45
15
#
FFAL
#
A=F[&'(.8)!BL]>(137)'!(.9)A
B=F[-'(.8)!(.9)$CL]'!(.9)C
C=F[+'(.8)!(.9)$BL]'!(.9)B
#
L=~cc{+(30)f(2)-(120)f(2)-(120)f(2)}
@